﻿using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Windows;
using System.Windows.Controls;

namespace Mongoose.Sample
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
            DataContext = this;
        }

        public ObservableCollection<object> PadContents
        {
            get
            {
                if (padContents == null)
                {
                    padContents = new ObservableCollection<object>();
                    for (int i = 0; i < 50; i++)
                    {
                        padContents.Add("Pad #" + i);
                    }
                }
                return padContents;
            }
        }

        private ObservableCollection<object> padContents;
    }
}
